package com.flca.frw.dao;

/** 
 * each persistence specific type, should implement this interface to build a specific Dao implementation
 * @author nly36776
 *
 */
public interface DaoFactory {
	
	/**
	 * tthis register a DaoFactory in ConnPools given a RegisterDatabase
	 * @param aRegisterDatabase
	 */
	void register(RegisterDatabase aRegisterDatabase);

	/**
	 * This build a persistence specific Dao  
	 * @param aRegisterDatabase
	 * @return
	 */
	Dao build();
}
